﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace BasicWebSite.Forms.Olaylar
{
    public partial class ilkOlay : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (IsPostBack == false)//sadece ilk aanda çalışır
                Response.Write("PostBack siz tarih:" + DateTime.Now.ToLongTimeString());
        }

        protected void Button1_Click(object sender, EventArgs e)
        {

        }

        protected void btnPostBack_Click(object sender, EventArgs e)
        {
            if (IsPostBack == true)//sadece ilk aanda çalışır
                Response.Write("PostBack li tarih:"+DateTime.Now.ToLongTimeString());

        }
    }
}